Auto merge of #3022 - alexcrichton:add-more-metadata, r=brson
authorbors <bors@rust-lang.org>
Fri, 19 Aug 2016 21:24:29 +0000 (14:24 -0700)
committerGitHub <noreply@github.com>
Fri, 19 Aug 2016 21:24:29 +0000 (14:24 -0700)
commit109cb7c33d426044d141457049bd0fffaca1327c
treee6e3e042790d5d7c943aea9826862621fa37636c
parentb05bacdd7a4dbd88804360270cf66f23e5ba3e7d
parent7e4043951bfee9ac2f44a888aae0c9324df29f58
Auto merge of #3022 - alexcrichton:add-more-metadata, r=brson

Add a temporary env var to enable hashes in filenames

For rustbuild we need the hashes to exist for all deps, even if they're path
deps, because we care about the actual file names. For example we don't want to
install /usr/lib/libstd.so!

This adds a "secret" environment variable, `__CARGO_DEFAULT_LIB_METADATA` which
re-enables the old behavior of just putting hashes in filenames.

Closes #3005